# -*- coding: UTF-8 -*-
__author__ = 'chzhu'

class Config(object):
    user = 'root'
    passwd = 'Pinnacle2015'
    host = '139.196.9.164'
    database = 'clear'
    tables = {
                'Proxy': 'proxies',
                'Cookie': 'cookies',
                'Timeline': 'weibo_timelines',
                'Uid': 'crawling_tasks'
               }
    charset = 'utf8mb4'

    timeout = 30

    seconds_per_minute = 60


    MONITORED_USER_NUM = 10

    SPIDER_ID = 0


